<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        div {
            display: inline-block;
        }

    </style>
</head>
<body>

<div id="app" align="center">
    <div style="width: 150px">
        <label>出发地</label>
        <el-input
                placeholder="请输入内容"
                v-model="input1"
                clearable>
        </el-input>
    </div>


    <div style="width: 150px">
        <label>目的地</label>
        <el-input
                placeholder="请输入内容"
                v-model="input2"
                clearable>
        </el-input>
    </div>
    <div>
        <el-row>
            <el-button type="success" round @click="spide">提交</el-button>
        </el-row>
        <template>
            <el-table
                    :data="List"
                    border
                    :row-class-name="tableRowClassdeparture">
                style="width: 100%">
                <el-table-column
                        prop="date"
                        label="时间"
                        width="150">
                </el-table-column>
                <el-table-column
                        prop="departure"
                        label="出发地"
                        width="150">
                </el-table-column>
                <el-table-column
                        prop="arrival"
                        label="目的地"
                        width="150">
                </el-table-column>
                <el-table-column
                        prop="flightNumber"
                        label="航班号"
                        width="150">
                </el-table-column>
                <el-table-column
                        prop="airLine"
                        label="航空公司"
                        width="150">
                </el-table-column>
                <el-table-column
                        prop="price"
                        label="价格"
                        width="150">
                </el-table-column>
            </el-table>
        </template>
    </div>
</div>


<script src="js/vue.js"></script>
<script src="element-ui/lib/index.js"></script>
<script src="js/spider.js"></script>
<script src="js/axios.min.js"></script>
<link rel="stylesheet" href="element-ui/lib/theme-chalk/index.css">
</body>
</html>